package com.muslimedia.reloadmanager.data;

import android.content.Context;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;

public class DbHelper extends SQLiteOpenHelper{
	public static final String DB_NAME = "/sdcard/reloadmgr/reload_manager.db";
	
	public static class Trx{
		public static final String TABLE = "transactions";
		public static final String ID = "id";
		public static final String TRX_DATE = "trxDate";
		public static final String PRODUCT = "product";
		public static final String CUSTOMER = "customer";
		public static final String PHONE = "phone";
		public static final String BASE_PRICE = "base_price";
		public static final String SELL_PRICE = "selling_price";
		public static final String PAID = "paid";
		public static final String STATUS = "status";
	}
	
	public class Properties{
		public static final String TABLE = "properties";
		public static final String NAME = "name";
		public static final String VALUE = "value";
		public static final String GROUP = "grops";
		public static final String ORDER = "orders";
		public static final String STATUS = "status";
	}
	
	public DbHelper(Context context) {
		super(context, DB_NAME, null, 1);
	}
	
	@Override
	public void onCreate(SQLiteDatabase arg0) {
		// TODO Auto-generated method stub
		
	}

	@Override
	public void onUpgrade(SQLiteDatabase arg0, int arg1, int arg2) {
		// TODO Auto-generated method stub
		
	}

}
